solving logarithmic inequalities